package com.jie.langlangmall.dao;

import com.jie.langlangmall.model.PmsSkuStock;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author Jie
 * @Date 2024/11/22
 * @Email 3217998214@qq.com
 * @Description 商品SKU库存管理
 */
public interface PmsSkuStockDao {

    /**
     * 批量插入商品库存信息
     *
     * @param skuStockList
     * @return
     */
    int insertList(@Param("list") List<PmsSkuStock> skuStockList);


    /**
     * 插入或者替换
     *
     * @param filterSkuList
     */
    void replaceList(List<PmsSkuStock> filterSkuList);

}
